<template>
	<view class="mianpage">
		<Title :txt="i18n.gywm" :showback="true"></Title>
		<image src="../../static/logo.png" mode="" class="logo"></image>
		<view class="f14 edition color-gray mt10">
			V {{version}}
		</view>
			<view url="" class="itembox mt30 fsc border mx15 py15">
				<view class="item fcs">
					<view class="f14 white">
						{{i18n.kfwxh}}
					</view>
				</view>
				<view class="fcs">
					<view class="mgr8 white f14">
						{{wechat}}
					</view>
					<image src="../../static/grayla.png" mode="" style="width: 24rpx;height: 24rpx;"></image>
				</view>
			</view>
			<!-- <navigator url="./agreement" class="itembox mgt24 fsc border">
				<view class="item fcs">
					<view class="f14">
						服务协议
					</view>
				</view>
				<image src="../../static/grayla.png" mode="" style="width: 24rpx;height: 24rpx;"></image>
			</navigator> -->
			<navigator url="./introduce" class="itembox fsc border mx15 py15">
				<view class="item fcs">
					<view class="f14 white">
						{{i18n.gsjs}}
					</view>
				</view>
				<image src="../../static/grayla.png" mode="" style="width: 24rpx;height: 24rpx;"></image>
			</navigator>
	</view>
	
</template>

<script>
	export default {
		data(){
			return{
				wechat:"",
				version:'1.0.0'
			}
		},
		computed: {
			i18n() {
				return this.$t('user');
			}
		},
		onLoad() {
			// #ifdef APP-PLUS
			this.version = plus.runtime.version
			// #endif
		},
		onShow() {
			this.$http.post('user.getAboutUsInfo').then(res=>{
				// console.log(res)
				this.wechat=res.data.wechat
			})
		}
	}
</script>

<style lang="less">
	.mianpage{
		.edition{
			display: flex;
			justify-content: center;
		}
		.logo{
			display: block;
			margin-top: 80rpx;
			margin-left: auto;
			margin-right: auto;
			width: 168rpx;
			height: 168rpx;
		}
		.itembox{
			border-bottom: 2rpx solid #1c2d41;
			image{
				width: 46rpx;
				height: 44rpx;
			}
			
		}
	}

</style>



